.dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.dialog .mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .7);
}

.dialog .mask.mask-transparent {
  background-color: transparent;
}

.dialog .dialog-box {
  position: absolute;
  width: 100%;
  left: 0;
  font-size: 24rpx;
  z-index: 1;
  background-color: #fff;
  box-sizing: border-box;
}

.dialog .dialog-box .dialog-title {
  font-size: 16px;
  line-height: 1;
  padding: 20px;
  color: #000;
}

.dialog .dialog-box .dialog-title .dialog-close {
  position: absolute;
  font-size: 24px;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.dialog.dialog-bounce-bottom .dialog-box {
  animation: bounceBottom .4s both;
}

.dialog.dialog-bounce-bottom .dialog-box {
  bottom: 0;
  left: 0;
}

.dialog.dialog-zoom-in .dialog-box {
  top: 40%;
  left: 50%;
  width: 80%;
  transform-origin: 0 0 0;
  transform: translate(-50%, -50%);
  padding: 36rpx;
  animation: zoomIn .3s both;
}

@keyframes bounceBottom {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}